<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>按钮管理</title>
	<link rel="stylesheet" href="../css/commen.css"/>
	<script src="../../../scripts/boot.js" type="text/javascript"></script>
	<script src="../../../../js/dateUtil.js" type="text/javascript"></script>
	<script src="../js/ColumnsMenu.js"></script>
</head>
<body>
	<!--按钮栏-->
    <div style="width:100%;">
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                    <td style="width:100%;">
                        <a class="mini-button" iconCls="icon-add" onclick="add()">增加</a>
                        <a class="mini-button" id="editBtn" iconCls="icon-edit" onclick="edit()">编辑</a>
                        <a class="mini-button" id="removeBtn" iconCls="icon-remove" onclick="remove()">删除</a>
                        <a class="mini-button" iconCls="icon-upload" onclick="topChange()">向上</a>
                        <a class="mini-button" iconCls="icon-download" onclick="bottonChange()">向下</a>
                    </td>
                    <td style="white-space:nowrap;">

                        <!--<input id="key" class="mini-textbox" emptyText="请输入名称" style="width:150px;" onenter="onKeyEnter"/>-->
                        <!--<a class="mini-button" onclick="search()">查询</a>-->
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="mini-fit">
        <!--数据表-->
        <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" idField="buttonId" multiSelect="false"
        showPager='false' sortField="showIndex" onrowclick="selectEvent">
            <div property="columns">
                <div type="checkcolumn" ></div>
                <div type="indexcolumn" headerAlign="center">序号</div>
                <div field="showIndex" headerAlign="center" align="center"  visible='false'>显示顺序</div>
                <div field="buttonId" headerAlign="center" align="center" visible='false'>按钮ID</div>
                <div field="buttonCode" headerAlign="center" align="center">按钮编号</div>
                <div field="buttonText" width="120" headerAlign="center" align="center">按钮名称</div>
                <div field="eventName" width="120" headerAlign="center" align="center" visible='false'>事件名称</div>
                <div field="elId" width="120" headerAlign="center" align="center" visible='false'>元素ID</div>
                <div field="buttonImg" headerAlign="center" align="center" visible="false">按钮图标</div>
                <div field="btnIsPreset" headerAlign="center" align="center">是否系统预制</div>
                <div field="state" headerAlign="center" align="center">按钮状态</div>
               <!--  <div field="createDate" headerAlign="center" align="center" dateFormat="yyyy-MM-dd" >创建时间</div> -->
            </div>
        </div>
    </div>
    
    
   <script src="../js/button.js"></script>
</body>
</html>